<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache,no-store, must-revalidate">
<meta http-equiv="expires" content="0">
<title>订单提交中心_优购网上鞋城</title>
	<link href="/homeHTML/css/base.css" type="text/css" rel="stylesheet">
	<link href="/homeHTML/css/shopcar_v4.css" type="text/css" rel="stylesheet">
	<script src="/homeHTML/js/v.htm" charset="utf-8"></script><script src="/homeHTML/js/hm.js"></script><script src="/homeHTML/js/ga.js" async="" type="text/javascript"></script><script type="text/javascript" src="/homeHTML/js/jquery-1.js"></script>
	<script type="text/javascript" src="/homeHTML/js/jquery.js"></script>
	<script type="text/javascript" src="/homeHTML/js/MD5.js"></script>
	<script type="text/javascript" src="/homeHTML/js/Area_mini_0.js"></script>
	<script type="text/javascript" src="/homeHTML/js/ygdialog.js"></script><link href="/homeHTML/css/ygdialog.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="/homeHTML/js/yg_002.js"></script>
	<script type="text/javascript" src="/homeHTML/js/yg_003.js"></script>
	<script type="text/javascript" src="/homeHTML/js/jquery_002.js"></script>
	<script type="text/javascript">
		var basePath = "";
		var addressCanUpdate = "true";
		var addressMap = new YouGou.Util.Map();
		var maxOperationAddNum = 10;
		var shoppingProcess=true;
		var isThanOneCardsInfo = '0';
    	var oneCardNo = null;
		var oneCardId = null;
		var cardsMap = new YouGou.Util.Map();
		var korea = '';
		var cardsArr = new Array();
	</script>
	
	<script type="text/javascript" src="/homeHTML/js/payOnline.js"></script>
	<script type="text/javascript" src="/homeHTML/js/yg.js"></script>
	<style>
		.clearfix:after {content: ".";display: block;height: 0px;clear: both; visibility: hidden;}
		.sort_select{border:1px solid #ddd; width:100%;color:#6b5a8e;clear:both;}
		.sort_select span{float:left;display:inline;line-height:28px;padding-left:10px;}
		.sort_select{border:#e4e4e4 solid 1px;}
		.sort_select p{display:block;height:30px; line-height:30px; padding-left:20px; background:#F7F7F7;border-bottom:#e4e4e4 solid 1px;}
		.sort_select ul li{float:left;margin-right:50px;height:20px; line-height:20px;padding:10px 20px;display:block;}
		.sort_select ul li span{margin:0 5px;}
		.sort_select ul li  img{margin-left:30px;}
		.sort_select ul {clear:both;}
	</style>
	<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">

<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap-theme.min.css">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="/bower_components/jquery/dist/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- Bootstrap -->
    <link href="/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div style="position: absolute; z-index: 9996; top: -200px;" id="ntkf_flash_div_presence"><embed src="/homeHTML/js/NTID.swf" id="ntkf_flash_impresence" flashvars="siteid=kf_9923&amp;settingid=kf_9923_1356320277571&amp;surl=http%3A%2F%2Fchat01.yougou.com%2Ft2d%2F&amp;r=http%3A%2F%2Fs1.ygimg.cn%2Ftemplate%2Fcommon%2Fntalker&amp;ref=http%3A%2F%2Fwww.yougou.com%2Forder.jhtml&amp;fsid=1469773859090000343&amp;cid=guest6811D79A-A435-B649-DB63-EE1E0AE532B0&amp;u=kf_9923_ISME9754_18513579348&amp;n=18513579348" allowscriptaccess="always" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="1" width="1"></div>
<!--header start-->
<!-- top nav bar created time: 2014-11-28 18:34:02-->
<div id="top_nav">
	<div class="view_area clearfix">
		<div class="yg link_box"><a href="http://www.yougou.com/#ref=all&amp;po=logo_yougou">时尚商城</a></div>
		
		<div class="phone link_box">
			<a href="http://www.yougou.com/topics/mobile.html" class="phone_text"><i class="mobile_ico"></i>手机优购<i class="tip"></i></a>
			<div class="phone_con">
                    <p class="clearfix">
                        <span class="fl qr_code">
                        </span>
                        <span class="fl ml10">
                            <a class="btn_app_store btn" href="http://itunes.apple.com/cn/app/zhang-shang-you-gou/id504493912?mt=8" target="_blank">App Store</a>
                            <a class="btn_android_store btn" href="http://mobile.yougou.com/appVersion/package.sc?channelCode=YgYougouwebA59" target="_blank">Android</a>
                        </span>
                    </p>
                    <p class="qr_code_tip">下载安装 <strong>优购客户端</strong></p>
                </div>
		</div>
		<div class="outlets link_box" style="border-right:none"></div>
		<div class="fr">
		<div class="about_user">
			@if(empty(session('id'))) 
           <!-- // 如果用户没有登录,显示下面这段html代码 -->
           <li class='fore1' id='ttbar-login' clstag='shangpin|keycount|topitemnormal|a02'><a href='/logins'class='link-login style-red'>请登录</a>&nbsp;&nbsp;<a href='/register' class='link-regist'>免费注册</a></li>
         @else
           <li><a href='/logout' title=''>退出</a><em></em>
           <a href='/geren' title='会员中心'>会员中心</a><em></em>
           <span id='tops_member'>欢迎回来，{{session('member')}}</span><em id='member_info_line'></em></li>
         @endif</div>
		</div><!--about_user end -->
		<div class="my_yg link_box">
			<a href="http://www.yougou.com/my/ucindex.jhtml?t=14697740726111932" class="a1">我的优购</a>
			<ul class="info_con">
				<li><a href="http://www.yougou.com/my/favorites.jhtml?t=14697740726111695">我的收藏</a></li>
				<li style="display: list-item;" id="commentcount"><a href="http://www.yougou.com/my/comment.jhtml?t=14697740748099462">等待点评(<i class="corg">0</i>)</a></li>
				<li style="display: list-item;" id="top_msg"><a href="http://www.yougou.com/my/msg.jhtml?t=14697740747393077">站内消息(<i class="corg">0</i>)</a></li>
			</ul>
		</div>
		<div class="my_order link_box"><a href="http://www.yougou.com/my/order.jhtml?t=14697740726128990" rel="nofollow">我的订单</a></div>
		
		<div class="more link_box">
			<a href="javascript:;" class="more_text">更多</a>
			<ul class="more_con">
				<li><a onclick="YouGou.Biz.WebToolkit.addFavorite();" href="javascript:;">收藏优购</a></li>
				<li><a href="http://www.yougou.com/help/help.html">帮助</a></li>
			</ul>
		</div>
		</div>
	</div><!--view_area end -->
</div><!--top_nav end -->

<!--header end-->
<!-- <form id="orderForm" method="POST" name="orderForm" action=""> -->
<div class="cen cart_header">
    <h1 class="logo"><a href="http://www.yougou.com/" title="优生活，购时尚"><img src="/homeHTML/img/logo-yg.png" alt="优购时尚商城"></a></h1>
    <div class="fr cart_step mt20">
        <ul>
            <li>我的购物车<em></em><i></i></li>
            <li class="current">提交订单中心<em></em><i></i></li>
            <li>成功提交订单<em></em><i></i></li>
        </ul>
    </div>
</div>

<input id="orderNum" value="0" type="hidden">
<input id="isLock" value="false" type="hidden">
<input id="limitOrderNum" value="40" type="hidden">
<input id="limitOrderCommBuyMaxNum" value="40" type="hidden">
<input id="isOrderDistributionSide" value="false" type="hidden">
<input id="tradeCurrency" name="tradeCurrency" value="CNY" type="hidden">
<input id="linkBuy" name="linkBuy" value="1" type="hidden">
<input id="noSupportCODMsg" value="1" type="hidden">
<input id="authToken" value="" type="hidden">
<input id="authSwitch" value="false" type="hidden">
	<!-- 收货地址 start -->
 <div class="cen mt30 clearfix">
	  <div class="col_hd">  
	      <h2 class="col_tlt" id="selAddrTitle">请选择您的收货地址</h2>
	      <span class="pay_addr_alipay">
	    	  <a class="cart_back_link ml10 cblue undline" href="/shopcar/index">返回购物车</a>
	      </span>
		  <span class="col_trt"><a href="/address/addlist" target="_blank" class="cblue">管理收货地址</a></span>
	  </div>
		<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
  添加新地址
</button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">

  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">填写新地址</h4>
      </div>
      <form action="/address/insert" method='POST'>
      <div class="modal-body">
      <!-- <form action=""> -->
        <!--导入插件-->
		<script type="text/javascript" src="/homeHTML/js/addressjquery.js"></script>
		<script type="text/javascript" src="/homeHTML/js/area.js"></script>


		<script type="text/javascript" src="/homeHTML/js/location.js"></script>
		<link rel="stylesheet" href="/homeHTML/css/common.css">
		
			收货人姓名:<input type="text" name="getman"><br>
			收货人手机:<input type="text" name="phone"><br>
			<!--层级联动选择框-->
		详细地址:&nbsp;&nbsp;&nbsp;
		<select id="loc_province" class="" name="sheng" style="width:80px;"></select>
		<select id="loc_city" class="" name="shi" style="width:100px;"></select>
		<select id="loc_town" class="" name="xian" style="width:120px;"></select>
		<br>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="jiedao">(请填写详细地址,确保准确送达)
		<br>是否设为默认
		<label><input type="radio" name="isdefault" value='1'>是</label>
		<label><input type="radio" name="isdefault" value='0'>否</label>

		{{csrf_field()}}
		<!-- <input type="submit" value="保存"> -->
		 
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>


        <button  class="btn btn-primary">保存</button>
        <!-- <input type="submit" value="保存"> -->
      </div>
      </form>
    </div>
  </div>
</div>

<div id="reciever_list" class="pay_addr reciever_list"  style="height: 135px;">
				@foreach($address as $k=>$v)
				<dl class="item" addr="{{$v->id}}" id="" @if($v->isdefault ==1)
									style="border:dashed 3px red"
									@endif
				>
				<i>&nbsp;</i>
				<p style="display: none;" class="actP">
						<a href="javascript:void(0);" title="修改收货地址" id="address_radio_update_5f7413df178b44909eded88086630f41" name="address_radio_update" class="cblue address_update" addrid="5f7413df178b44909eded88086630f41">修改</a>
						| <a href="javascript:void(0);" id="address_radio_delete_5f7413df178b44909eded88086630f41" name="address_radio_delete" class="delete cblue" addrid="5f7413df178b44909eded88086630f41">删除</a>
				</p>
				<label><input style="display:none" name="addressRadio" addresskey="user_address_5f7413df178b44909eded88086630f41" addressid="5f7413df178b44909eded88086630f41" id="addressRadio_5f7413df178b44909eded88086630f41" value="address_radio_5f7413df178b44909eded88086630f41" checked="checked" type="radio"></label>
				<dt >
					<span class="area attr" attr="{{$v->sheng}},{{$v->shi}},{{$v->xian}}">
					
					</span>
					(<span class="conName">{{$v->getman}}</span>&nbsp;收)
				</dt>
				<dd>
					<p>{{$v->jiedao}}&nbsp;<em class="Gray">{{$v->phone}}</em></p>

					
				</dd>
			</dl>
			@endforeach

    

</div>

<input name="receivingName" id="receivingName" value="张敬伟" type="hidden">
  <input name="receivingAddress" id="receivingAddress" value="******育园区兄弟连" type="hidden">
  <input name="receivingMobilePhone" id="receivingMobilePhone" value="185****9348" type="hidden">
  <input name="receivingZipCode" id="receivingZipCode" value="" type="hidden">
  <input id="deliveryDate" name="deliveryDate" value="2" type="hidden">
  <input id="addressType" name="addressType" value="yougou" type="hidden">
  
  
  
  	  <!-- ===============qq彩贝地址================ -->
	  <!-- ===============qq彩贝地址================ -->

      <p class="blank10"></p>
    </div>
  <input name="receivingProvince" id="receivingProvince" value="root-6" type="hidden">
  <input name="receivingProvinceName" id="receivingProvinceName" value="北京" type="hidden">
  <input name="receivingCity" id="receivingCity" value="root-6-1" type="hidden">
  <input name="receivingCityName" id="receivingCityName" value="北京市" type="hidden">
  <input name="receivingDistrict" id="receivingDistrict" value="root-6-1-1" type="hidden">
  <input name="receivingDistrictName" id="receivingDistrictName" value="东城区" type="hidden">
  <input name="addressState" id="addressState" value="2" type="hidden">
  <input name="addressId" id="addressId" value="5f7413df178b44909eded88086630f41" type="hidden">
	<!--//收货地址end-->

	
	<!-- 支付方式 start -->
	<div id="paymentContainer" class="cen mt30">
 <!--付款方式-->
<div for="payment_1" style="display:none">在线支付<input id="payment_1" name="payment" value="ONLINE_PAYMENT" checked="checked" type="radio"></div>
<div class="col_hd" id="paymentBank">
    <h2 class="col_tlt">请选择您的付款方式<strong id="webbankpay_tips" class="ml10"></strong></h2>
    
</div>

   
  
  <form action="/order/create" method="post">
    <div class="row" style="margin-top:20px">
      <div class="col-md-6">
      	<span>支付方式:</span>
      	<input type="radio" name="pay" value="weixin">微信支付	
      	<input type="radio" name="pay" value="zhifubao">支付宝支付	
      	<input type="radio" name="pay" value="yinlian">银联支付	
      	<input type="radio" name="pay" value="face" checked>刷脸支付
      	{{csrf_field()}}
      	<input type="hidden" name="address_id" value="">	
      </div>
    </div>  
<p class="blank40"></p>
<!--end 修改支付方式--> 
<!--end 付款方式-->
	</div>


	<!--确认订单信息start-->
	<div id="orderSettlementContainer">
<input id="addProductNum" value="1" type="hidden">
<!--商品列表start-->
<div class="cen mt30">
    <div class="col_hd" style="border-bottom:none;">
        <h2 class="col_tlt">确认订单信息</h2>
    </div>

    <div class="cart_gray_box order_lst mt10">
        <table id="cart_goods_tb" class="order_goods_tb">
            <colgroup>
                <col width="400">
                <col width="110">
                <col width="130">
                <col width="130">
                <col width="175">
            </colgroup>
            <thead>
            <tr>
                <th>商品名称</th>
                <th>颜色尺码</th>
                <th>单价</th>
                <th>数量</th>
                <th>小计(元)</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td colspan="5">
                    <input value="1" id="productRecordNum" type="hidden">
                    <input value="0" id="productGiftRecordNum" type="hidden">
                    <input value="1" id="orderCommNum" type="hidden">
                    <input id="orderAmountLimit" value="1" type="hidden">
                    <input id="lackOrderAmount" value="0" type="hidden">

                    <!-- 优购时尚商城开始-->
				@foreach($goods as $k=>$v)
 				<div class="shpcrt_blank10 clearfix"></div>
                     <div id="shopping_cart1" class="shopping_cart_tr ">
                       <dl class="clearfix">
                           <input value="2016-07-29 14:33:48" id="addTime" type="hidden">
                            <dt class="col_1 fl rel">
                            <a target="_blank" href="">
                            <img  src="{{$v->image}}" class="thumImg" height="60" width="60">

                            </a>
                        </dt>
                        <dd class="col_2 fl"><a target="_blank" href="" title="PUMA彪马2016新款男子经典生活系列短袖T恤57207503" class="shopLink">{{$v->proname}}</a><br>

                        </dd>
                        <dd class="col_3 fl">
                       		<div class="pl20">
                       		 <p class="cgray tleft">颜色：<em class="f_gray">中麻灰</em></p>

                       		 <p class="cgray tleft">尺码：<em class="f_gray">M</em></p>
                    		</div>
                        </dd>
                        <dd class="col_4 fl rel ">
                                   {{$v->price}}

                        </dd>
                        <dd class="col_5 fl rel">
                               {{$v->num}}
                        </dd>
                        <dd class="col_6 fl"><strong class="corg">{{$v->xiaoji}}</strong></dd>
                    </dl>

                        <div class="shpcrt_blank10 clearfix">
                        	
                    </div>
                </div>
				@endforeach

                </td>
            </tr>
            </tbody>
        </table>
        <div class="ygtjzx_ttl clearfix" id="shoppingCartContainer">
            <div id="couponarea" class="fl mt10">
                
                   
              
            </div>
            <div class="ygtjzx_ttl_bd fr">
                <table class="ygtjzx_ttl_lrtbl">
                    <colgroup><col>
                    <col>
                    </colgroup><tbody>
                    <tr>
                        
                        <td><strong class="corg"></strong></td>
                    </tr>
                    
                        <th><em class="pr25"><i></i></em><strong>应付总金额：</strong>
                        </th>
                        <td><strong class="c9 f16 pr5">¥</strong><strong class="f18 fmTahoma corg" id="u_buyAmount">{{$total}}</strong>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="mt15 mr40">
            <div class="clearfix tright">
                <p class="fr">
                    <a class="cart_back_link cblue undline" href="">返回购物车</a>
					<input type="hidden" name="id" value="{{$v->id}}">
                    <button class="cart_submitbtn ml10" type="submit" >确认，提交订单</button>
                
                </p>
            </div>
        </div>
        </form>

    </div>
</div>

<div class="cen mt20">
    <div class="lwst_cdje mr10">
        <!--最低成单价start-->
        <!--最低成单价end-->
        <!--//最大成单金额start-->
        <!--//最大成单金额end-->
    </div>
</div>

	</div>
	
	<input id="limitCartAddProductMaxNum" value="100" type="hidden">
	<input id="higestPayDeliveryOrderAmount" value="3000" type="hidden">
	<!--确认订单信息end-->
	<div class="clearfix cen mt15">
	    <div class="fr cgray cart_btinfo ">
	        <p class="cart_bz">
	            购物保障：<i class="icon_zp"></i>100%正品
					<i class="icon_thh"></i>10天退换货
					<i class="icon_bcj"></i>10天补差价
	        </p>
	        <p class="cart_paytips"><b></b>请您在订单提交成功后1小时内完成支付，否则订单将被自动取消</p>
	    </div>
	</div>
	<div class="clear"></div>
	<div id="help_order_pop" style="display:none"></div>
	<div id="help_pay_pop" style="display:none"></div>
	<div id="help_coupon_pop" style="display:none"></div>

</form>
		
<div class="cen mt20 clearfix">
    <span class="fl cgray"> 购物过程中遇到任何问题，请联系在线客服
    <a title="在线咨询" onclick="javascript:NTKF.im_openInPageChat();" class="lnk-ntalker Blue">在线咨询</a> 
    </span>
    <span class="fr"> <a style="text-decoration:underline;" class="cgray" target="_blank" href="http://www.yougou.com/shoppingcart/shoppingcart_advise.jhtml">帮助我们改进购物流程</a> </span>
</div>

<!--底部start-->
<div class="cgray cen footer">
<span class="pr10">
	Copyright © 2011-2014 Yougou Technology Co., Ltd. 
</span>
<span class="pr10">
	<a href="http://www.miibeian.gov.cn/" target="_blank">粤ICP备09070608号-4</a>
</span>
<span class="pr10">
	增值电信业务经营许可证：<a href="http://www.miibeian.gov.cn/" target="_blank">粤 B2-20090203</a>
</span>
</div>
	<!--//底部end-->
<!--//问卷调查-->	





<script type="text/javascript" src="/homeHTML/js/mv.js"></script>





<script type="text/javascript" src="/homeHTML/js/conversion.js">
</script><iframe name="google_conversion_frame" title="Google conversion frame" src="/homeHTML/js/a.htm" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" frameborder="0" height="13" width="300"></iframe>



<script type="text/javascript">
<!-- 
var bd_cpro_rtid="n1f4nf";
//-->
</script>
<script type="text/javascript" src="/homeHTML/js/rt.js"></script>






<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="/bower_components/jquery/dist/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
	$(document).ready(function() {
		showLocation();
		$('#reciever_list .attr').each(function(){
			var str = $(this).attr('attr');
			var info = getInfo(str);
			$(this).html(info);
		});

		//定义获取城市信息方法
		function getInfo(str){
			//console.log(str);
			//拆分字符串
			var arr = str.split(',');
			// console.log(arr);	
			var ls  = new Location;
			var l = ls.items;
			// console.log(l['0,1,2']['5']);
			var sheng = l['0'][arr[0]];
			var shi = l['0,'+arr[0]][arr[1]];
			var xian = l['0,'+arr[0]+','+arr[1]][arr[2]];
			return sheng+shi+xian;
		}

		//点击选中默认地址
		$('#reciever_list .item').each(function(){
			$(this).click(function(){
				//
				$('#reciever_list .item').css('border','solid 1px #ccc');	
				$(this).css('border','dashed 3px red');
				//获取当前点击的地址id
				var id  = $(this).attr('addr');	
				$('input[name=address_id]').val(id);
			})
		})				
	});
	</script>
</body></html>